<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/bootstrap.css">
    <style>
        *{
            margin: 0;
            padding: 0;
            list-style: none;
        }

        html,body{
            height:100%;
        }
        body{
            background-color: #f4f5f9;
        }
        .header{
            width: 100%;
            height: 68px;
            background-color: #fff;
            position: fixed;
            top: 0;
            left: 0;
            box-shadow: 2px 2px 10px 2px rgba(0, 0, 0, 0.5);
            z-index: 100;
            padding-left: 250px;
            padding-top: 13px;
            padding-right: 20px;

        }
        .left{
            float: left;
            cursor: pointer;
        }
        .right{
            float: right;
        }
        .center{
            margin-right: 100px;
            float: right;
            widows: 276px;
            height: 35px;
            background: #eef1f5;
            border-radius: 30px;

        }
        .center input{
            border: 0;
            background: #eef1f5;
            outline: none;
            height: 30px;
            border-radius:30px ;
            padding-left: 10px;
            box-sizing: border-box;
        }
        .slidebar {
            width: 220px;
            height: 100%;
            background-color: #fff;
            position: fixed;
            top: 0;
            left: 0;
            box-shadow: 2px 2px 10px 2px rgba(0, 0, 0, 0.5);
            z-index: 101;
            transition: transform 0.4s;
        }
        
        .slidebar .top {
            width: 100%;
            height: 60px;
            background: #438AFE;
        }
        
        .slidebar .top h2 {
            margin: 0;
            text-align: center;
            font-size: 26px;
            color: #fff;
            padding-top: 20px;
        }
        
        .slidebar .menu {
            color: #000;
            font-size: 20px;
            padding-left: 20px;
            padding-top: 20px;
            box-sizing: border-box;
        }
        
        .slidebar .menu li {
            padding: 10px 0;
            cursor: pointer;
        }
        
        .slidebar .menu li span {
            width: 30px;
            height: 30px;
            display: inline-block;
            vertical-align: middle;
            background: url("images/icon1.png") no-repeat;
            margin-right: 10px;
        }
        
        @media screen and (max-width:1024px) {
            .slidebar {
                transform: translateX(-100%);
            }
        }
    </style>
</head>
<body>
    <!-- 网页头部 -->
    <div class="header">
        <div class="left">
            <img src="images/menu.png" alt="" width="30">
        </div>
        <div class="right">
            <img src="images/icon.png" alt="" width="30">
            <img src="images/close.png" alt="" width="30">
        </div>
        <div class="center">
            <input type="text" placeholder="搜索">
        </div>

    </div>
    <!-- 侧边导航 -->
    <div class="slidebar">
        <div class="top">
            <h2>凤凰教育</h2>

        </div>
        <img src="images/avatar.png" alt="" width="220">
        <div class="menu">
            <ul>
                <li><span style="background-image: url('images/icon1.png');"></span> 数据中心</li>
                <li><span style="background-image: url('images/icon2.png');"></span>学员管理</li>
                <li><span style="background-image: url('images/icon3.png');"></span>教师管理</li>
                <li><span style="background-image: url('images/icon4.png');"></span>课程管理</li>
                <li><span style="background-image: url('images/icon5.png');"></span>订单管理</li>
                <li><span style="background-image: url('images/icon6.png');"></span>财务管理</li>
                <li><span style="background-image: url('images/icon7.png');"></span>客服管理</li>
                <li><span style="background-image: url('images/icon8.png');"></span>系统设置</li>
            </ul>
        </div>
    </div>
</body>
</html>